package com.hongxun.project.assets.iPullLine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 拉线表 i_pull_line
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class IPullLine extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 所属点位 */
	private String pId;
	/** 定位经度 */
	private BigDecimal lgt;
	/** 纬度 */
	private BigDecimal lat;
	/** 型号 */
	private String type;
	/** 数据状态 */
	private String datastate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setLgt(BigDecimal lgt) 
	{
		this.lgt = lgt;
	}

	public BigDecimal getLgt() 
	{
		return lgt;
	}
	public void setLat(BigDecimal lat) 
	{
		this.lat = lat;
	}

	public BigDecimal getLat() 
	{
		return lat;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getPId())
            .append("lgt", getLgt())
            .append("lat", getLat())
            .append("type", getType())
            .append("datastate", getDatastate())
            .toString();
    }
}
